package com.ns.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.ns.dao.VPastpaperDao;
import com.ns.dao.model.VPastpaperInfo;

@Repository
public class VPastpaperService {
	@Autowired
	private VPastpaperDao dao;
	public List<VPastpaperInfo> findAll(){
		return dao.findAll();
	}
	public List<VPastpaperInfo> findByArea(Integer area){
		return dao.findByArea(area);
	}
}
